package com.eedi.framework.errorcode.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eedi.framework.errorcode.enums.SysErrorCodeTypeEnum;
import com.eedi.framework.mybatis.core.dataobject.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 错误码表
 */
@TableName(value = "sys_error_code")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SysErrorCodeDO extends BaseDO {
    @TableId(type = IdType.ASSIGN_UUID)
    private String sysErrorCodeId;
    /**
     * 错误码类型
     * <p>
     * 枚举 {@link SysErrorCodeTypeEnum}
     */
    private SysErrorCodeTypeEnum sysErrorCodeType;
    /**
     * 应用名
     */
    private String sysErrorCodeAppName;
    /**
     * 错误码编码
     */
    private Integer sysErrorCode;
    /**
     * 错误码错误提示
     */
    private String sysErrorMessage;
    /**
     * 错误码备注
     */
    private String sysErrorMemo;

}
